// 存储ip
export const getIpStorage = () => {
  return localStorage.getItem("ONLY_YOU") || "";
};

export const setIpStorage = (ip) => {
  localStorage.setItem("ONLY_YOU", ip);
};

export const getTheme = () => {
  return localStorage.getItem("THEME") || "light";
};

export const setTheme = (theme) => {
  localStorage.setItem("THEME", theme);
};
